<template>
    <div>
        <section class="toast-container">
            <div class="toast">
                <span>{{message}}</span>
            </div>
        </section>   
    </div>
</template>
<script>
    export default {
        components:{
            // 'other-component':otherComponent
        },
        data(){
            return{
                message:"Hello Toast"
            }
        }
    }
</script>
<style lang='scss' scoped>
    // @keyframe fade-in{
        
    // }
    .toast-container{
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        z-index: 2000;
        display: flex;
        justify-content: center;
        align-items: center;
        .toast{
            width: 180px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            background-color: #02020231;
            border-radius: 10px;
            color: #fff;
        }
    }
    
</style>
